package com.megalith.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.geo.Distance;
import org.springframework.data.geo.Point;

/**
 * @Description TODO
 * @Author lfp
 * @Date 2021/9/27 22:35
 * @Version 1.0
 */
@ApiModel("距离计算")
@Data
public class DistanceQuery {
    @ApiModelProperty("距离")
    private Float distance;

    @ApiModelProperty("位置")
    private Point position;
}
